﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MonCorLib.Net.Service
{
    public class ClientEventArgs : EventArgs
    {
        public string clientID { get; private set; }


        public ClientEventArgs(string clientID)
        {
            this.clientID = clientID;
        }
    }


    public interface INetServerServiceable
    {
        event EventHandler<ClientEventArgs> ConnectedClientEvent;
        event EventHandler<ClientEventArgs> DisconnectedClientEvent;

        void start();
        void stop();

        void send(string message);
        string receive();
    }    
}
